<?php
	session_start();
	if (!session_is_registered("reg_uname")) {
		echo "<meta http-equiv=\"refresh\" content=\"0; url=index.php\">";
		echo "Klik <a href=\"index.php\">disini</a> apabila browser anda berhenti berjalan ...";
		exit;
	}
	if (!session_is_registered("reg_level")) {
		echo "<meta http-equiv=\"refresh\" content=\"0; url=index.php\">";
		echo "Klik <a href=\"index.php\">disini</a> apabila browser anda berhenti berjalan ...";
		exit;
	}
	if (!session_is_registered("reg_jurusan")) {
		echo "<meta http-equiv=\"refresh\" content=\"0; url=index.php\">";
		echo "Klik <a href=\"index.php\">disini</a> apabila browser anda berhenti berjalan ...";
		exit;
	}
	if ($reg_level!=="2") {
		echo "<meta http-equiv=\"refresh\" content=\"0; url=logout.php\">";
		echo "Klik <a href=\"logout.php\">disini</a> apabila browser anda berhenti berjalan ...";
		exit;
	}

?>
<script type="text/javascript"language="JavaScript1.2" src="rightclick.js"></script>